package com.sicau.smart_farmer.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.springframework.data.mongodb.core.mapping.DBRef;

@ToString
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class UserTrainingRecord {

    @ApiModelProperty(value = "id")
    private String id;
    @DBRef
    @ApiModelProperty(value = "用户实体信息")
    private User user;
    @DBRef
    @ApiModelProperty(value = "培训批次信息")
    private TrainingBatch trainingBatch;
    @ApiModelProperty(value = "培训进度信息",notes = "0：正在培训  1：未通过  2：已完成")
    private String trainingProcess;//0：正在培训  1：未通过  2：已完成

}
